package com.attendance.mapper;

import com.attendance.pojo.Class;
import com.attendance.pojo.ProjectGroup;

import com.attendance.pojo.Student;
import com.attendance.vo.HomeWorkVO;
import com.attendance.vo.ProjectGroupVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProjectGroupMapper {
    //查询全部
    List<ProjectGroupVO> selectAll();

    //根据条件查询
    List<ProjectGroupVO> selectProjectGroup(@Param("groName") String groName, @Param("stuName") String stuName,@Param("stuNum") String stuNum);

    //新增分组
    int addProjectGroup(ProjectGroup projectGroup);

//    新增学生
//    int addProjectGroupcl(Class class1);
//    int addProjectGroupstu(Student student);

    //删除
    int deleteProjectGroup(String id);

    //修改分组
    int updateProjectGroup(ProjectGroup projectGroup);

    //修改是否结业
    int modifyStatue1(String id);

    //修改是否为组长
    int modifyStatue2(String id);
}
